package cn.iocoder.mall.user.biz.dao;

import cn.iocoder.mall.user.biz.dataobject.PromotionInformation;
import cn.iocoder.mall.user.biz.dto.MemberPageDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 推广员推广商铺信息表
 * @Author: jeecg-boot
 * @Date:   2019-12-07
 * @Version: V1.0
 */
public interface PromotionInformationMapper extends BaseMapper<PromotionInformation> {
    /**
     * 通过推广员id 获取推广员信息 + 推广的商铺信息
     * @param id
     * @return
     */
    MemberPageDTO getPromotionInformations(@Param("id") String id);
}
